package mk.jug.cloud.cms.service;

import mk.jug.cloud.cms.dao.ArticleDAO;
import mk.jug.cloud.cms.model.Article;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.Assert;

/**
 * Created by IntelliJ IDEA.
 * User: Ice.Penov
 * Date: 6/8/11
 * Time: 1:39 PM
 * To change this template use File | Settings | File Templates.
 */
@Service
public class ArticleServiceImpl implements ArticleService {

    @Autowired private ArticleDAO articleDAO;

    public void create(Article article) {
        //TODO: prereq. check.
        articleDAO.save(article);
    }

}
